package cn.appsys.service.dictionary;

import cn.appsys.dao.dictionary.DictionaryMapper;
import cn.appsys.pojo.Dictionary;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class DictionaryImpl implements DictionaryService {

    @Resource
    private DictionaryMapper dictionaryMapper;
    @Override
    public List<Dictionary> findDictionaryList(String typeCode) {
        List<Dictionary> dictionaryList=dictionaryMapper.getDictionaryList(typeCode);
        return dictionaryList;
    }
}
